/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package data.xml_persistence.model;

/**
 *
 * @author ded_end
 */
public class Place {

    private String id;
    private String name;
    private int importance;
    private int population;

    public Place() {
    }

    public Place(String id, String name, int importance, int population) {
        this.id = id;
        this.name = name;
        this.importance = importance;
        this.population = population;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getImportance() {
        return importance;
    }

    public void setImportance(int importance) {
        this.importance = importance;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPopulation() {
        return population;
    }

    public void setPopulation(int population) {
        this.population = population;
    }

    @Override
    public String toString() {
        return "Place{" + "id=" + id + ", name=" + name + ", importance=" + importance + ", population=" + population + '}';
    }
}
